package cn.chenchao.eshop.log.entity;
import cn.chenchao.eshop.common.entity.Entity;

/**
 * @encoding : UTF-8
 * @Time : 2020/11/23 10:53
 * @Author : Chen Chao
 * @File : eshop.cn.chenchao.eshop.log.entity.Log.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 * 日志实体类
 */
public class Log extends Entity {
    /**日志内容*/
    private String msg;
    /**日志等级*/
    private String level;
    /**日志等级*/
    private String time;

    public Log() {
    }

    public Log(String msg, String level, String time) {
        this.msg = msg;
        this.level = level;
        this.time = time;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Log{" +
                "msg='" + msg + '\'' +
                ", level='" + level + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
